import Vue from 'vue'
import App from './App.vue'
import VueResource from 'vue-resource'
import VueRouter from 'vue-router'
import Routes from './routes'


Vue.config.productionTip = false

Vue.use(VueResource)
Vue.use(VueRouter)

//创建路由
const router=new VueRouter({
  routes:Routes,
  mode:"history"
})

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
